﻿namespace GoKuai_EntSDK.Data
{
    internal class ConditionSortParam
    {
        public object filename;
        public object filesize;
        public object last_dateline;

        public ConditionSortParam(OrderType type, OrderMethod method)
        {
            string methodStr = method.ToString().ToLower();
            switch (type)
            {
                case OrderType.FILENAME:
                    filename = methodStr;
                    break;
                case OrderType.FILESIZE:
                    filesize = method.ToString().ToLower();
                    ;
                    break;
                case OrderType.LAST_DATELINE:
                    last_dateline = method.ToString().ToLower();
                    ;
                    break;
            }
        }
    }
}